package com.zbbt.sportslottery.bean;

/**
 * 活动券
 */
public class HuoDongQuanData {
	private int id;
	private int appId;
	private int activityId;// 活动ID
	private int userId;// 用户的ID
	private int status;// 体验券的状态 1：未使用 2：已使用 3：已过期
	private int price;// 体验券面值
	private int getWay;// 体验券获取方式 1：微信注册获取 2：抽奖获取
	private long createAt;// 体验券生成时间--系统时间毫秒数
	private int couponType;// 体验券类型 1：活动券 2：现金券
	private String couponNum;// 体验券码
	private String couponName;// 体验券名字
	private int couponFlag;// 备用字段
	private long startEffectiveTime;// 开始时间
	private long endEffectiveTime;// 结束时间

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getAppId() {
		return appId;
	}

	public void setAppId(int appId) {
		this.appId = appId;
	}

	public int getActivityId() {
		return activityId;
	}

	public void setActivityId(int activityId) {
		this.activityId = activityId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getGetWay() {
		return getWay;
	}

	public void setGetWay(int getWay) {
		this.getWay = getWay;
	}

	public long getCreateAt() {
		return createAt;
	}

	public void setCreateAt(long createAt) {
		this.createAt = createAt;
	}

	public int getCouponType() {
		return couponType;
	}

	public void setCouponType(int couponType) {
		this.couponType = couponType;
	}

	public String getCouponNum() {
		return couponNum;
	}

	public void setCouponNum(String couponNum) {
		this.couponNum = couponNum;
	}

	public String getCouponName() {
		return couponName;
	}

	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}

	public int getCouponFlag() {
		return couponFlag;
	}

	public void setCouponFlag(int couponFlag) {
		this.couponFlag = couponFlag;
	}

	public long getStartEffectiveTime() {
		return startEffectiveTime;
	}

	public void setStartEffectiveTime(long startEffectiveTime) {
		this.startEffectiveTime = startEffectiveTime;
	}

	public long getEndEffectiveTime() {
		return endEffectiveTime;
	}

	public void setEndEffectiveTime(long endEffectiveTime) {
		this.endEffectiveTime = endEffectiveTime;
	}

	@Override
	public String toString() {
		return "HuoDongQuanData [id=" + id + ", appId=" + appId + ", activityId=" + activityId + ", userId="
				+ userId + ", status=" + status + ", price=" + price + ", getWay=" + getWay + ", createAt="
				+ createAt + ", couponType=" + couponType + ", couponNum=" + couponNum + ", couponName="
				+ couponName + ", couponFlag=" + couponFlag + ", startEffectiveTime=" + startEffectiveTime
				+ ", endEffectiveTime=" + endEffectiveTime + "]";
	}

}
